
#include "HelperImpl.h"
#include"ComponentManager.h"
void* __cdecl createHelper()
{
	
    HelperImpl* pInterface = NULL;
 	try
 	{
 		pInterface = new HelperImpl();
 		if (pInterface == NULL)
 		{
 			throw;
 		}
 		return (void*)pInterface;
 	}
 	catch (...) {}
 	if (pInterface != NULL) {
 		delete pInterface;
 	}
 	return NULL;
 
}

HelperImpl::HelperImpl()
{
}

HelperImpl::~HelperImpl()
{
}

IComponent* HelperImpl::getComponent(string componentId)
{ 
    return  ComponentManager::getInstance()->getComponentByID(componentId);
}
